package com.gw2.gw2world.web.server.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.List;

public class User {
	private String username;
	private String password;
	private String email;
	private String lang="en";
	private int dob; //date of birth: YYYYMMDD
	private Guild guild;
	private List<Integer> watchItemList;
	// Map<root item id, Map<item id, quantity>
	private Map<Integer, Map<Item, Integer> > crafting;
	private int home=0, guest1=0, guest2=0;
	public User() {
		watchItemList=new ArrayList<Integer>();
		crafting=new HashMap<Integer, Map<Item,Integer> >();
	}
	public String getLang() {
		return lang;
	}
	public void setLang(String lang) {
		this.lang = lang;
	}
	public int getHome() {
		return home;
	}
	public void setHome(int home) {
		this.home = home;
	}
	public int getGuest1() {
		return guest1;
	}
	public void setGuest1(int guest1) {
		this.guest1 = guest1;
	}
	public int getGuest2() {
		return guest2;
	}
	public void setGuest2(int guest2) {
		this.guest2 = guest2;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public List<Integer> getWatchItemList() {
		return watchItemList;
	}
	public Map<Integer, Map<Item, Integer> > getCrafting() {
		return crafting;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getDob() {
		return dob;
	}
	public void setDob(int dob) {
		this.dob = dob;
	}
	public Guild getGuild() {
		return guild;
	}
	public void setGuild(Guild guild) {
		this.guild = guild;
	}
}
